<?php

class MessageController extends Zend_Controller_Action {
	
	public function indexAction() {
		$message = new Zend_Session_Namespace('message');
		$flag = false;
		if(!empty($message->msg)) {
			$this->view->msg = $message->msg;
			$this->view->redirect = $message->redirect;
			$flag = true;
		}
		$this->view->flag = $flag;
	}
}